<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

Route::get('think', function () {
    return 'hello,ThinkPHP5!';
});

Route::get('api/:version/home', 'api/:version.Index/index');

Route::get('api/:version/myIndex', 'api/:version.MyInfo/index');
//获取token
Route::any('api/:version/getToken', 'api/:version.Token/getToken');
//token验证
Route::any('api/:version/verifyToken', 'api/:version.Token/verifyToken');

//支付参与活动
Route::any('api/:version/joinPay', 'api/:version.MyInfo/joinPay');
//签到
Route::any('api/:version/sign', 'api/:version.MyInfo/sign');

return [

];
